<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>服务告警管理</title>
<link rel="stylesheet" type="text/css" href="../../../css/reset.css" />
<link rel="stylesheet" type="text/css" href="../../../css/css.css" />
<link rel="stylesheet" type="text/css"
	href="../../../js/jquery-easyui-1.4.3/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css"
	href="../../../js/jquery-easyui-1.4.3/themes/icon.css" />
<link rel="stylesheet" type="text/css"
	href="../../../js/SmartWizard-2.0/styles/smart_wizard.css" />
<link rel="stylesheet" type="text/css"
	href="../../../css/colorReset.css" />



<style type="text/css">
.data_con {
	width: 100%;
}

.chart_con {
	border: 1px solid #ced6db;
	overflow: hidden;
	margin: 10px 0 0 0;
}

.input_con .text {
	width: 185px;
}

.passwordStrength {
	float: left;
	width: 193px;
	margin-left: 90px;
	color: #fff;
	font-size: 12px;
	margin-bottom: 0px;
	padding-top: 3px;
}

.passwordStrength>span {
	float: left;
	width: 63px;
	height: 8px;
	max-width: 120px;
	margin-left: 1px;
	text-align: center;
	background: #ccc;
}

.passwordStrength>span.first.bgStrength {
	background: #FC7272;
}

.passwordStrength>span.second.bgStrength {
	background: #FCC072;
}

.passwordStrength>span.last.bgStrength {
	background: #79D00D;
}

#interfaceAddress {
	width: 700px;
}

#interfaceAddress input {
	width: 525px;
}

#interfaceDes {
	width: 700px;
	height: 80px;
}

#interfaceDes textarea {
	width: 525px;
	height: 80px;
}

#interfaceMsg {
	width: 700px;
	height: 165px;
}

#interfaceMsg textarea {
	width: 497px;
	height: 165px;
}

.popup_con {
	height: 340px;
}

.stepContainer {
	height: 400px;
}

/* .popup_con .label {
	width: 140px;
	} */
.interfaceDataAddTit {
	width: 505px;
	/*background-color:#efefef;*/
	background: -webkit-linear-gradient(top, #F9F9F9 0, #efefef 100%);
	background: -moz-linear-gradient(top, #F9F9F9 0, #efefef 100%);
	background: -o-linear-gradient(top, #F9F9F9 0, #efefef 100%);
	background: linear-gradient(to bottom, #F9F9F9 0, #efefef 100%);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F9F9F9,
		endColorstr=#efefef, GradientType=0);
}

.interfaceDataAddTit th {
	height: 25px;
	line-height: 25px;
	border: 1px solid #95B8E7;
	font-weight: bold;
	text-align: center;
}

.interfaceDataAdd {
	width: 505px;
	border: 1px solid #95B8E7;
	border-top: none;
}

.interfaceDataAdd td {
	padding: 2px;
	height: 28px;
	border: 1px solid #95B8E7;
	border-top: none;
	text-align: center;
}

.interfaceDataAdd .text_tit {
	width: 65px;
	border: 1px solid #95B8E7;
	padding: 2px 3px;
	text-align: center;
}

.confirm_title, .confirm_title_rep, .confirm_title_revise,
	.confirm_title_revise_rep {
	/* color: #436EEE; */
	/*background-repeat: repeat-x;
		border: 1px solid #bbb;
		background: #fafafa;
		background: -webkit-linear-gradient(top, #ffffff 0, #eeeeee 100%);
		background: -moz-linear-gradient(top, #ffffff 0, #eeeeee 100%);
		background: -o-linear-gradient(top, #ffffff 0, #eeeeee 100%);
		background: linear-gradient(to bottom, #ffffff 0, #eeeeee 100%);
		background-repeat: repeat-x;
	    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff, endColorstr=#eeeeee, GradientType=0);				    padding: 5px;*/
	background: url(../../images/btn_bg.png) left top repeat-x;
	height: 23px;
	line-height: 23px;
	color: #436EEE;
	filter: none;
	border: 1px solid #bbb;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	width: 50px;
	text-align: center;
	display: block;
	margin: 0 auto;
}

.confirm_title:hover, .confirm_title_rep:hover, .confirm_title_revise:hover,
	.confirm_title_revise_rep:hover {
	background: #eaf2ff;
	color: #000000;
	border: 1px solid #b7d2ff;
	filter: none;
}

.change_title, .del_title {
	margin: 0 5px;
}

.table_add {
	max-height: 160px;
	width: 525px;
	overflow-y: auto;
}

.interfaceDataItemTit {
	width: 485px;
	margin: 10px auto 0 auto;
	/*background-color:#efefef;*/
	background: -webkit-linear-gradient(top, #F9F9F9 0, #efefef 100%);
	background: -moz-linear-gradient(top, #F9F9F9 0, #efefef 100%);
	background: -o-linear-gradient(top, #F9F9F9 0, #efefef 100%);
	background: linear-gradient(to bottom, #F9F9F9 0, #efefef 100%);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F9F9F9,
		endColorstr=#efefef, GradientType=0);
}

.interfaceDataItemTit th {
	height: 25px;
	width: 97px;
	line-height: 25px;
	border: 1px solid #95B8E7;
	font-weight: bold;
	text-align: center;
}

#interfaceDataItem {
	overflow-y: auto;
}

.interfaceDataItem {
	width: 485px;
	margin: 0 auto;
	border: 1px solid #95B8E7;
	border-top: none;
	margin: 0 auto 10px auto;
}

.interfaceDataItem td {
	padding: 2px;
	height: 28px;
	width: 97px;
	border: 1px solid #95B8E7;
	border-top: none;
	text-align: center;
}

.td_label {
	width: 20%;
	padding: 5px 0;
}

.td_target {
	width: 30%;
	padding: 5px 0;
}
/* 系统树 */
.tree_con {
	height: 270px;
	overflow: auto;
	margin: 0 auto;
	padding-top: 5px;
}

#system_show .tree_con {
	height: 305px;
}

.search-con {
	width: 100%;;
	background: #f0fbff;
	border-bottom: 1px solid #d1d8de;
	padding: 5px 0;
	margin: 0;
	line-height: 26px;
}

.search-con .text {
	width: 110px;
	height: 20px;
	line-height: 20px;
	border-radius: 0;
}

.search-con button {
	display: inline;
}

#progressbar_tips {
	display: none;
	line-height: 30px;
	font-size: 16px;
	color: #000000;
	font-weight: bold;
	position: absolute;
	left: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	z-index: 101;
}

#progressbar_tips p {
	padding: 0 0 0 295px;
}
</style>

</head>

<body>
	<div id="progressbar"></div>
	<div id="progressbar_tips">
		<img src="../../../images/progressbar.gif" alt="" />
		<p>
			请稍候<span id="progressbar_point"></span>
		</p>
	</div>
	<div class="main">
		<!-- 检索区域开始 -->
		<div class="sel_div">
			<table cellpadding="0" cellspacing="0" class="sel_con">
				<tr>
					<th colspan="3">数据检索</th>
				</tr>
				<tr>
					<td><label>所属领域：</label> <input id="comboxField"
						name="comboxField" class="text" /></td>
					<td><label>所属系统：</label><input type="text" name="comboxSystem"
						id="comboxSystem" class="text" /></td>
					<td><label>告警类型：</label> <input type="text"
						name="comboxAlarmType" id="comboxAlarmType" class="text" /></td>
				</tr>
				<tr>
					<td colspan="2" style="width: 260px;"><label>发生时间：</label><input
						id="chkToday" type="checkbox" name="chboxPeriod" value="0"
						onclick="chkChange($(this).val());return true;" checked="checked"
						title="今天" /><span>今天</span><input id="chkSevenBeforeDay"
						type="checkbox" name="chboxPeriod" value="1" title="7天内(不包含今天)"
						onclick="chkChange($(this).val());return true;" /><span>7天内(不包含今天)</span>
						<input style="width: 130px;" class="easyui-datetimebox text"
						type="text" name="txtStartDateTime" editable="false"
						id="txtStartDateTime" disabled="disabled"
						data-options="showSeconds:true"
						validType="dateValid['#txtStartDateTime','#txtEndDateTime']"
						title="ok" /> <span>到</span> <input style="width: 130px;"
						class="easyui-datetimebox" type="text" name="txtEndDateTime"
						editable="false" id="txtEndDateTime" disabled="disabled"
						data-options="showSeconds:true"
						validType="dateValid['#txtStartDateTime','#txtEndDateTime']" /></td>
					<td><label></label><input id="chkNoIoslation" type="checkbox"
						name="chboxStatus" value="0" checked="checked" title="待处理未隔离" /><span>待处理未隔离</span><input
						id="chkIoslation" type="checkbox" name="chboxStatus" value="1"
						title="待处理已隔离" /><span>待处理已隔离</span></td>
				</tr>

			</table>
		</div>
		<div class="data_con" style="margin: 10px;">
			<div style="height: 25px">
				<div style="margin-bottom: 5px; float: none;">
					<img src="../../../images/icons/general.png" width="16px"
						height="16px" /><label><font color="red"> 一般告警 </font></label> <img
						src="../../../images/icons/importance.png" width="16px"
						height="16px" /><label><font color="red"> 重要告警 </font></label> <img
						src="../../../images/icons/urgent.png" width="16px" height="16px" /><label><font
						color="red"> 紧急告警 </font></label>
				</div>
			</div>
			<table id="datagrid" style="height: 325px"
				data-options="fitColumns:true,toolbar:'#toolbox'">
			</table>
		</div>
	</div>
	<div id="winWorkOrder" class="easyui-window" title="工单"
		style="width: 730px; height: auto; top: 20px"
		data-options="iconCls:'icon-save',modal:true,minimizable:false,maximizable:false,collapsible:false">
		<form id="addForm" method="post" style="width: 100%">
			<input id="txtAlarmId" name="txtAlarmId" class="text"
				style="display: none;" />
			<!-- <div class="popup_con"> -->
			<fieldset
				style="border: 1px solid; copadding: 10px; margin: 10px; display: block; color: gray;">
				<legend>工单信息</legend>
				<table style="width: 95%">
					<tr>
						<td class="td_label" align="right"><label class="label"
							for="labAssignWorkCode">工单号：</label></td>
						<td class="td_target" align="left"><div class="input_con">
								<label class="label" id="labAssignWorkCode" />
							</div></td>
						<td class="td_label" style="text-align: right" align="right"><label
							for="labAssignDate" class="label">派单时间：</label></td>
						<td class="td_target" align="left"><div>
								<label class="label" id="labAssignDate" />
							</div></td>
					</tr>
					<tr>
						<td class="td_label" align="right"><label class="label"
							for="labAlarmType">告警类型：</label></td>
						<td class="td_target" align="left"><div class="input_con">
								<label class="label" id="labAlarmType"></label>
							</div></td>
						<td class="td_label" align="right"><label class="label"
							for="labAlarmLevel">告警等级：</label></td>
						<td class="td_target" align="left"><div class="input_con">
								<label class="label" id="labAlarmLevel" />
							</div></td>
					</tr>
					<tr>
						<td class="td_label" align="right"><label class="label">接收人：</label></td>
						<td class="td_target" align="left"><div class="input_con">
								<label class="label" id="labReceiver"></label>
							</div></td>
						<td colspan="2"></td>
					</tr>

				</table>
			</fieldset>
			<fieldset
				style="width: 97%; border: 1px solid; copadding: 10px; margin: 10px; display: block; color: gray;">
				<legend>处理结果</legend>
				<table style="width: 95%">
					<tr>
						<td class="td_label" align="left" style="padding-left: 20px;"
							valign="top" colspan="4"><label class="label">故障分析：</label></td>
					</tr>
					<tr>
						<td class="td_label" align="left" style="padding-left: 20px;"><input
							type="checkbox" name="chboxErrorAnalysis" value="0" /><span>ESB到原服务间网络中断
						</span></td>
						<td class="td_label" align="left" style="padding-left: 20px;"><input
							type="checkbox" name="chboxErrorAnalysis" value="1" /><span>原服务所在服务器宕机
						</span></td>
						<td class="td_label" align="left" style="padding-left: 20px;"><input
							type="checkbox" name="chboxErrorAnalysis" value="2" /><span>原程序系统异常
						</span></td>
						<td class="td_label" align="left" style="padding-left: 20px;"><input
							type="checkbox" name="chboxErrorAnalysis" value="3" /><span>原程序数据库异常
						</span></td>

					</tr>
					<tr>
						<td class="td_label" align="left" style="padding-left: 20px;"><input
							type="checkbox" name="chboxErrorAnalysis" value="4" /><span>ESB本身故障
						</span></td>
						<td colspan="3"></td>

					</tr>
					<tr>
						<td class="td_label" align="left" style="padding-left: 20px;"
							colspan="4"><label for="txtAreaOtherReason" class="label">其他：</label></td>
					</tr>
					<tr>
						<td colspan="4" class="td_target" align="left"
							style="padding-left: 20px;" style="width: 50%;"><div
								class="input_con">
								<textarea id="txtAreaOtherReason" name="txtAreaOtherReason"
									rows="2"
									style="width: 100%; padding-bottom: 20px; padding-right: 5px;"></textarea>
							</div></td>
					</tr>
				</table>
			</fieldset>
		</form>
		<div id="buttons" class="button_con">
			<a href="javascript:void(0)" onclick="commitWorkOrder()"
				class="easyui-linkbutton" id="instance_commit" iconCls="icon-cancel"
				plain="true">提交处理</a> <a href="javascript:void(0)"
				onclick="cancelWorkOrder()" class="easyui-linkbutton"
				id="instance_cancel" iconCls="icon-cancel" plain="true">取消</a>
		</div>
	</div>

	<div id="winExceptionIfAnalysis" class="easyui-window" title="服务异常分析"
		style="width: 730px; height: auto; top: 20px"
		data-options="iconCls:'icon-save',modal:true,minimizable:false,maximizable:false,collapsible:false">
		<form id="addForm" method="post" style="width: 100%">
			<input id="txtRowIndex" name="txtRowIndex" class="text"
				style="display: none;" />
			<div class="popup_con"
				style="width: 48%; height: 120px; float: left; margin-left: 5px; margin-top: 8px; border: 1px solid #333;">
				<div align="left"
					style="border-bottom: 1px solid; border-bottom-color: gray; padding-left: 5px; padding-top: 8px; padding-bottom: 5px; background: #f5f5f5;">
					<label>请求信息</label>
				</div>
				<table style="width: 100%">
					<tr>
						<td style="width: 20%;"><label class="label">http响应码：</label></td>
						<td style="width: 30%;" align="left"><label id="labResCode"></label></td>
						<td style="width: 20%;"><label class="label">请求来源：</label></td>
						<td style="width: 30%;" align="left"><label id="labReqIp"></label></td>
					</tr>
					<tr>
						<td><label class="label">请求方式：</label></td>
						<td colspan="3" align="left"><label id="labReqMethod"></label></td>
					</tr>
					<tr>
						<td valign="top"><label class="label">请求URL：</label></td>
						<!-- 						<td colspan="3" align="left"><label id="labUrl" style="word-wrap:break-word;word-break:keep-all;overflow:hidden;width: 50px;"></label></td>
 -->
						<td colspan="3" style="width: 90px;"><div>
								<textarea id="labUrl" name="labUrl" rows="2" style="width: 98%;"
									class="textarea easyui-validatebox"
									data-options="validType:'maxLength[500]'"></textarea>
							</div></td>
					</tr>

				</table>
			</div>
			<div class="popup_con"
				style="width: 48%; height: 118px; float: right; margin-left: 5px; margin-right: 5px; margin-top: 8px; border: 1px solid #333; overflow: hidden;">
				<div align="left"
					style="border-bottom: 1px solid; border-bottom-color: gray; padding-left: 5px; padding-top: 5px; padding-bottom: 5px; background: #f5f5f5;">
					<label>请求报文</label>
				</div>
				<div>
					<div>
						<textarea id="labReqMess" name="labReqMess" rows="6"
							style="width: 99%; height: 98%" class="textarea"></textarea>
					</div>
				</div>
			</div>

			<div id="divAvgResTimes" class="chart_con"
				style="width: 80%; height: 250px; float: left; margin-left: 5px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px;"></div>
			<div class="
					popup_con"
				style="width: 16%; height: 250px; float: right; margin-left: 5px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px;">
				<ol>
					<li style="margin-left: 5px; margin-top: 5px;"><label>发生时间：</label></li>
				</ol>
				<ol>
					<li style="margin-left: 5px; margin-top: 5px;"><label
						id="labOccurDate"></label></li>
				</ol>
				<ol>
					<li style="margin-left: 5px; margin-top: 5px;"><label>告警点峰值：</label></li>
				</ol>
				<ol>
					<li style="margin-left: 5px; margin-top: 5px;"><label
						id="labPeakValue"></label></li>
				</ol>
				<ol>
					<li style="margin-left: 5px; margin-top: 5px;"><label>访问次数阀值：</label></li>
				</ol>
				<ol>
					<li style="margin-left: 5px; margin-top: 5px;"><label
						id="labFlowThreshold">0次</label></li>
				</ol>
				<ol>
					<li style="margin-left: 5px; margin-top: 5px;"><label>当前访问次数：</label></li>
				</ol>
				<ol>
					<li style="margin-left: 5px; margin-top: 5px;"><label
						id="labFlow">0次</label></li>
				</ol>
			</div>
		</form>
	</div>
	<script type="text/javascript" src="/webjars/json3/3.3.2/json3.min.js"></script>
	<script type="text/javascript"
		src="../../../js/jquery-easyui-1.4.3/jquery.min.js"></script>
	<script type="text/javascript"
		src="../../../js/jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
	<script type="text/javascript"
		src="../../../js/jquery-easyui-1.4.3/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript"
		src="../../../js/SmartWizard-2.0/js/jquery.smartWizard-2.0.min.js"></script>
	<script type="text/javascript" src="../../../js/ajaxfileupload.js"></script>
	<script type="text/javascript"
		src="../../../js/cook/jquery.tabletojson.js"></script>
	<script type="text/javascript" src="../../../js/cook/constants.js"></script>
	<script type="text/javascript" src="../../../js/cook/FormValidate.js"></script>
	<script type="text/javascript" src="../../../js/cook/public.js"></script>
	<script type="text/javascript" src="../../../js/rsa/security.js"></script>
	<script type="text/javascript" src="../../../js/rsa/rsaly.js"></script>
	<script type="text/javascript"
		src="../../../js/passwordStrength-min.js"></script>
	<script type="text/javascript"
		src="../../../js/Highcharts-4.1.7/js/highcharts.js"></script>
	<script type="text/javascript"
		src="../../../js/esb/ServiceMonitor/ServiceAlarmManagement.js"></script>

	<script>
		
	</script>
</body>
</html>



